﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WFordenCompraFillFacRpt.aspx.cs" Inherits="CO.WFordenCompraFillFacRpt" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link href="../Styles/General.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/token-input-facebook.css" rel="stylesheet" type="text/css" />
    <link href="../Styles/jquery-ui.custom.css" rel="stylesheet" type="text/css" />

    <script src="../Scripts/jquery.min.js" type="text/javascript"></script>
   
    <script src="../Scripts/jquery.tokeninput.js" type="text/javascript"></script>
    <script src="../Scripts/jquery-ui.min.js" type="text/javascript"></script>
    <script src="../Scripts/jquery.purr.js" type="text/javascript"></script>
    <script src="../Scripts/General.js" type="text/javascript"></script>
  
    <script src="js/global.js" type="text/javascript"></script>
</head>
<body>
   
    <form id="form1" runat="server">
    <div style="border: 1px solid #ccc; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px; -ms-border-radius: 5px;">
 
         <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>

    <table width="100%" cellpadding="0" cellspacing="2">
        <tr>
            <td colspan="9">
                &nbsp;
                Buscar</td>
        </tr>
        <tr>
            <td style="width: 10px;">
                &nbsp;
            </td>
            <td>
                Mes:</td>
            <td>
                    <asp:DropDownList ID="dpMes" runat="server" Width="200px" TabIndex="1">
                        <asp:ListItem Value="00">Seleccionar</asp:ListItem>
                        <asp:ListItem Value="01">Enero</asp:ListItem>
                        <asp:ListItem Value="02">Febrero</asp:ListItem>
                        <asp:ListItem Value="03">Marzo</asp:ListItem>
                        <asp:ListItem Value="04">Abril</asp:ListItem>
                        <asp:ListItem Value="05">Mayo</asp:ListItem>
                        <asp:ListItem Value="06">Junio</asp:ListItem>
                        <asp:ListItem Value="07">Julio</asp:ListItem>
                        <asp:ListItem Value="08">Agosto</asp:ListItem>
                        <asp:ListItem Value="09">Septiembre</asp:ListItem>
                        <asp:ListItem Value="10">Octubre</asp:ListItem>
                        <asp:ListItem Value="11">Noviembre</asp:ListItem>
                        <asp:ListItem Value="12">Diciembre</asp:ListItem>
                    </asp:DropDownList>
                </td>
            <td>
                &nbsp; Proveedor :&nbsp;&nbsp;
            </td>
            <td colspan="2">
                    <asp:DropDownList ID="dpProveedor" runat="server" Width="200px" TabIndex="2">
                    </asp:DropDownList>
                </td>
            <td>
                &nbsp;
            </td>
            <td>
                    <asp:Button ID="btnImprimir" runat="server"  Text="Imprimir" 
                    CssClass="esdButtonStyle" Width="80px" onclick="btnImprimir_Click" TabIndex="7" />
                </td>
            <td style="width: 10px;">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td colspan="9">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="auto-style1">
                &nbsp;
            </td>
            <td class="auto-style2">
                Factura</td>
            <td class="auto-style2">
                    <asp:TextBox ID="txtFactura" runat="server" CssClass="esdTextBox" 
                    Width="100px" TabIndex="3"></asp:TextBox>
                </td>
            <td colspan="2" class="auto-style2">
                &nbsp;
                Importación
            </td>
            <td class="auto-style2">
                <asp:TextBox ID="txtImportacion" runat="server" CssClass="esdTextBox" TabIndex="4"></asp:TextBox>
            </td>
            <td class="auto-style2">
                <asp:Button ID="btnBuscar" runat="server" onclick="btnBuscar_Click" 
                    Text="Buscar" CssClass="esdButtonStyle" TabIndex="5" />
            </td>
            <td class="auto-style2">
                    <asp:Button ID="btnExportar" runat="server"  Text="Exportar" 
                    CssClass="esdButtonStyle" Width="80px" onclick="btnExportar_Click" TabIndex="6" />
                </td>
            <td class="auto-style1">
                &nbsp;
            </td>
        </tr>
        <tr>
            <td class="auto-style1">
                &nbsp;</td>
            <td class="auto-style2">
                &nbsp;</td>
            <td class="auto-style2">
                    &nbsp;</td>
            <td colspan="2" class="auto-style2">
                &nbsp;&nbsp; Exportación</td>
            <td class="auto-style2">
                <asp:TextBox ID="txtExportacion" runat="server" CssClass="esdTextBox" TabIndex="4"></asp:TextBox>
            </td>
            <td class="auto-style2">
                &nbsp;</td>
            <td class="auto-style2">
                    &nbsp;</td>
            <td class="auto-style1">
                &nbsp;</td>
        </tr>
        <tr>
            <td colspan="9">
                &nbsp;
            
                </td>
        </tr>
    </table>

    </div>
        <div>

                <asp:GridView ID="gv_Listado" runat="server" AutoGenerateColumns="False" 
                    GridLines="None" AllowSorting="True" CssClass="esdGridAlternativeRowStyle">
                       <AlternatingRowStyle CssClass="esdGridAlternativeRowStyle" />
                    <Columns>
                        <asp:BoundField DataField="DOCU_A" HeaderText="N°OC" />
                        <asp:BoundField DataField="CODIGO" HeaderText="Codigo.P" />
                        <asp:BoundField DataField="DESCRIP" HeaderText="Descripción" />
                        <asp:BoundField DataField="UM" HeaderText="UM" />
                        <asp:BoundField DataField="CANT" HeaderText="Cant" />
                        <asp:BoundField DataField="PRECIO" HeaderText="Precio" />
                        <asp:BoundField DataField="VB" HeaderText="VB" />
                        <asp:BoundField DataField="VN" HeaderText="VN" />
                        <asp:BoundField DataField="PV" HeaderText="PV" />
                        <asp:BoundField DataField="FECHA" HeaderText="Fecha" />
                        <asp:BoundField DataField="local" HeaderText="Local" />
                        <asp:BoundField DataField="DESCRIP_B" HeaderText="Tipo Gasto" />
                        <asp:BoundField DataField="PROVE" HeaderText="Proveedor" />
                        <asp:BoundField DataField="TM" HeaderText="TM" />
                        <asp:BoundField DataField="FP" HeaderText="Forma Pago" />
                        <asp:BoundField DataField="FACTURAS" HeaderText="Factura" />
                      
                    </Columns>

                        <HeaderStyle CssClass="esdGridHeaderStyle" />
                        <PagerStyle CssClass="gridPagerStyle" />
                        <RowStyle CssClass="esdGridRowStyle" />
                        <SelectedRowStyle CssClass="esdGridSelectedRowStyle" />


                </asp:GridView>
            
        </div>
    </form>
</body>
</html>
